﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using CCF20Model;
using System.Globalization;

namespace CCF20
{
    
    public class MaintenanceTypeConverter : IMultiValueConverter 
    {
        public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {

            string strReturn = string.Empty;
            foreach (object o in values) 
            {

                strReturn = strReturn + (o ?? 1).ToString() + " ";
            }
            return strReturn;
            
        }
        public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
